add_executable(bfs-cpu bfs.cpp)
add_dependencies(apps bfs-cpu)
target_link_libraries(bfs-cpu PRIVATE Galois::shmem lonestar)
install(TARGETS bfs-cpu DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT apps EXCLUDE_FROM_ALL)
add_test_scale(small1 bfs-cpu "${BASEINPUT}/reference/structured/rome99.gr")
add_test_scale(small2 bfs-cpu "${BASEINPUT}/scalefree/rmat10.gr")

add_executable(bfs-directionopt-cpu bfsDirectionOpt.cpp)
add_dependencies(apps bfs-directionopt-cpu)
target_link_libraries(bfs-directionopt-cpu PRIVATE Galois::shmem lonestar)
install(TARGETS bfs-directionopt-cpu DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT apps EXCLUDE_FROM_ALL)
add_test_scale(small1 bfs-directionopt-cpu "${BASEINPUT}/reference/structured/rome99.gr")
add_test_scale(small2 bfs-directionopt-cpu "${BASEINPUT}/scalefree/rmat10.gr")
